package com.tshopping.service;

import com.tshopping.bean.DataModel;
import com.tshopping.util.ResponseData;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;

public interface CommentService {

    ResponseData addComment(DataModel dataModel) throws ParseException;

    ResponseData selectComment(int goods, int currentPage);

    ResponseData uploadCommentPicture(HttpServletRequest request, String email, MultipartFile file);
}
